﻿<%@ Page Title="Profile" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" 
CodeFile="Profile.aspx.cs" Inherits="Account_Profile" %>    
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <script type="text/javascript" src="../Scripts/profile.js?v=1"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<asp:ScriptManager ID="ScriptManager1"  EnablePageMethods="true" EnablePartialRendering="true" runat="server" />
    <div id="profileHeader">
        <div id="teamHeader">
            <asp:Label ID="teamname" runat="server" Text=""></asp:Label>
        </div>
        <div id="scoreHeader">
            <asp:Label ID="gameweekScoreLabel" runat="server" Text="Gameweek score: "></asp:Label>
            <asp:Label ID="totalScoreLabel" runat="server" Text="Total score: "></asp:Label>
        </div>
    </div>      
    <div class="profileWrapper">
    <div id="lineupContainer">
    <div class="boxHeader" style="width: 100%"><div class="boxHeaderText">MY LINEUP</div></div>
        <div id="lineup">
            <div id="keeperRow" runat="server">
            </div>
            <div id="defRow" runat="server">
            </div>
            <div id="midRow" runat="server">
            </div>
            <div id="attRow" runat="server">
            </div>
        </div>
        <div id="benchContainer">
            <div id="bench" runat="server"></div>
            <asp:Button ID="confirmSwap" runat="server" text="Confirm team"/>
        </div>
    </div> 
        <div id="teamContent">
            <asp:Panel ID="Players" runat="server">
            </asp:Panel>
            <asp:Panel ID="Substitutes" runat="server">
            </asp:Panel>

        </div>
        <div id="leagueContent">
            <div id="leagueHeader">
                <asp:Label ID="myLeagues" runat="server" Text="MY LEAGUE"></asp:Label>
            </div>
            <asp:Label ID="leaguename" runat="server" Text=""></asp:Label>
            <asp:Panel ID="teams" runat="server">
            <asp:Table ID="teamsTable" cellpadding="0" cellspacing="0" runat="server">
            <asp:TableRow ID="tableHeader">
                <asp:TableHeaderCell>Pos</asp:TableHeaderCell>
                <asp:TableHeaderCell>Team</asp:TableHeaderCell>
                <asp:TableHeaderCell id="gameweek">GW</asp:TableHeaderCell>
                <asp:TableHeaderCell class="last">Tot</asp:TableHeaderCell>
            </asp:TableRow>
            </asp:Table>
            </asp:Panel>
        </div>
    </div>
 
</asp:Content>

